package com.hpeu_01.day0107.homework;

public class PingpongAthlete extends Athlete implements StudyDao {
    public PingpongAthlete(String name, int age) {
        super(name, age);
    }

    public PingpongAthlete() {
    }

    //吃
    @Override
    public void eat() {
        System.out.println("乒乓球运动员吃吃蔬菜");
    }
    //学习类
    public void study(){
        System.out.println("乒乓球运动员学习如何打乒乓球");
    }
    //学习英语
    @Override
    public void english() {
        System.out.println("乒乓球运动员要学习");
    }
}
